package com.sls.mall.member.feign;

import com.sls.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("mall-order")
public interface OrderFeignService {

    /**
     * 获取用户订单列表-带明细
     * @param pageMap
     * @return
     */
    @PostMapping("/order/omsorder/listWithItem")
    R listWithItem(@RequestBody Map<String, Object> pageMap);
}
